<div class="footer clearfix">
    <div class="main">
        <div class="footer_n1">
            <span>服务热线：{$site.telphone}</span>
            <ul>
                {volist name="menu" id='vo'}
                {if condition="$vo.pos eq 2"}
                {notempty name='vo.url'}
                {php}$url = $vo['url'];{/php}
                {else /}
                {notempty name='vo.alias'}{php}$url=url($vo['model'].'/detail',['cate'=>$vo['alias']]);{/php}{else /}{php}$url=url($vo['model'].'/index');{/php}{/notempty}
                {/notempty}
                <li><a target="{$vo.open_type}" href="{$url}">{$vo.title}</a> </li>
                {/if}
                {/volist}
            </ul>
        </div>
        <div class="footer_n2 overflow_h">
            <div class="tab02 overflow_h">
                <ul class="idTabs" id="recmond-tab">
                    <li><a href="javascript:;" class="selected">{$cityInfo.name}新房推荐</a></li>
                    <li><a href="javascript:;">{$cityInfo.name}二手房推荐</a></li>
                    <li><a href="javascript:;">友情链接</a></li>
                </ul>
            </div>
            <div id="recmond-box">
            <div class="f_n3" id="second01">
                <ul>
                    {volist name='area' id='vo'}
                    <li><a href="{:url('Loupan/index',['area'=>$vo['id']])}" title="{$vo.name}">{$vo.name}新房</a></li>
                    {/volist}
                </ul>
            </div>
            <div class="f_n3" id="second03" style="display:none">
                <ul>
                    {volist name='area' id='vo'}
                    <li><a href="{:url('Second/index',['area'=>$vo['id']])}" title="{$vo.name}">{$vo.name}二手房</a></li>
                    {/volist}
                </ul>
            </div>
            <div class="f_n3" id="second04" style="display:none">
                <ul>
                    {fang:lists table='link' where="status=1" field="name,url" order="ordid asc,id desc" limit="50" id='vo'}
                    <li><a href="{$vo.url}" title="{$vo.name}" target="_blank">{$vo.name}</a></li>
                    {/fang:lists}
                </ul>
            </div>
            </div>
        </div>
        <div class="footer_n3 clearfix">
            <div class="footer_n3_1">
                <p>Copyright © {:date("Y")} {:config('url_domain_root')}. All Rights Reserved ICP备案号：{$site.icp}</p>
                <p>公司名称：{$site.companyname}</p>
            </div>
            <div class="footer_n3_2" >
                <ul>
                    <li>
                        <span><img src="{$site.weixin_pic}" width="90" height="90"></span>
                        <p>关注{$site.title}微信</p>
                    </li>
                </ul>
            </div>
        </div>

    </div>
</div>
{$site.countcode}
<script src="__PUBLIC__/js/plugins/jquery.lazyload.js"></script>
<script>
    $(function(){
        $("img.lazy").lazyload({
            threshold : 100,
            effect : "fadeIn"
        });
        $('.city-box').bind('click',function(){
            $('#CPM').toggle();
        });
        $('.close_btn').bind('click',function(){
            $('#CPM').hide();
        });
        $("#recmond-tab li").bind('click',function(){
            var index = $(this).index();
            $(this).find('a').addClass('selected').parent().siblings().find('a').removeClass('selected');
            $("#recmond-box").children().eq(index).show().siblings().hide();
        });
    });
</script>